package com.effective.java.chapter02;

import java.util.Arrays;
import java.util.List;
import java.util.Objects;

public class SpellChecker {
    private final Lexicon dictionary;

    public SpellChecker(Lexicon lexicon) {
        this.dictionary = Objects.requireNonNull(lexicon);
    }

    public boolean isValid(String world) {
        return true;
    }

    public List<String> suggestions(String typo) {
        return Arrays.asList(new String[]{});
    }
}
